<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ page language="java" import="java.util.*,
								 com.kylin.hibernate.*,
								 com.kylin.common.util.*,
                                 org.hibernate.*,
                                 com.kylin.module.shop.orm.*,
                                 org.apache.struts.util.LabelValueBean" %>

<%
String p_to = "nmlzh@163.com,info@magickylin.com";
//    	Config.load("E:\\workspace\\kylin\\WebRoot\\WEB-INF\\kylin-config.xml");
    String templetContent = FileOperater.getActivationMailFileContent("zh_CN");
 		int index = templetContent.indexOf("\n");
 		String subject = templetContent.substring(0,index);
 		String content = templetContent.substring(index,templetContent.length());
 		
 		// 在模版文件里的变量，模版中定义为类似： 欢迎你{0}，你的密码是 {1}
 		String[] paraValues= new String[]{
 			"aaaa",
 			"bbbb"
 		};
 		String rs = UTool.sendHtmlSystemMail(p_to, subject, content, paraValues );
 		out.println("rs ="+rs);
%>
<hr>
p_to = <%=p_to%>